package com.example.shop.pojo;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 用户
 * @author Administrator
 *
 */
public class User {
	
	
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 账号
	 */
	private String account;
	/**
	 * 姓名
	 */
	private String userName;
	/**
	 * 设备号
	 */
	private String deviceNumber;
	/**
	 * ip地址
	 */
	private String ipAddr;
	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * 密码
	 */
	private String password;

	/**
	 * 手机号
	 */
	private Long iphoneNum;
	/**
	 * 昵称
	 */
	private String nickname;
	/**
	 * 图像
	 */
	private String userImage;
	/**
	 * 身份证
	 */
	private String identityCard;
	/**
	 * 犯罪记录
	 */
	private Long criminalRecord;
	/**
	 * 入职日期
	 */
	private LocalDateTime createdDate;
	
	/**
	 * 银行卡号
	 */
	private String bankCardNumber;
	
	
	public String getBankCardNumber() {
		return bankCardNumber;
	}
	public void setBankCardNumber(String bankCardNumber) {
		this.bankCardNumber = bankCardNumber;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getDeviceNumber() {
		return deviceNumber;
	}
	public void setDeviceNumber(String deviceNumber) {
		this.deviceNumber = deviceNumber;
	}
	public String getIpAddr() {
		return ipAddr;
	}
	public void setIpAddr(String ipAddr) {
		this.ipAddr = ipAddr;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Long getIphoneNum() {
		return iphoneNum;
	}
	public void setIphoneNum(Long iphoneNum) {
		this.iphoneNum = iphoneNum;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getUserImage() {
		return userImage;
	}
	public void setUserImage(String userImage) {
		this.userImage = userImage;
	}
	public String getIdentityCard() {
		return identityCard;
	}
	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}
	public Long getCriminalRecord() {
		return criminalRecord;
	}
	public void setCriminalRecord(Long criminalRecord) {
		this.criminalRecord = criminalRecord;
	}
	public LocalDateTime getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(LocalDateTime localDateTime) {
		this.createdDate = localDateTime;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", account=" + account + ", userName=" + userName + ", deviceNumber="
				+ deviceNumber + ", ipAddr=" + ipAddr + ", email=" + email + ", password=" + password + ", iphoneNum="
				+ iphoneNum + ", nickname=" + nickname + ", userImage=" + userImage + ", identityCard=" + identityCard
				+ ", criminalRecord=" + criminalRecord + ", createdDate=" + createdDate + ", bankCardNumber="
				+ bankCardNumber + "]";
	}
	
}
